/* 现代化FullCalendar样式 */

/* 基础事件样式 */
.fc-event {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 2px 4px;
    padding: 4px 8px;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.fc-event:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 学校日程样式 */
.school-day-normal {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border-left: 4px solid #2E7D32;
}

.school-day-rest {
    background: linear-gradient(135deg, #FFC107, #FFB300);
    color: #333;
    border-left: 4px solid #F57C00;
}

.school-day-makeup {
    background: linear-gradient(135deg, #FF9800, #FB8C00);
    color: white;
    border-left: 4px solid #E65100;
}

.school-day-afterschool {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border-left: 4px solid #0D47A1;
}

.school-day-exam {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    color: white;
    border-left: 4px solid #4A148C;
}

/* 班级日程样式 */
.schedule-class-0, .schedule-class-1, .schedule-class-2, 
.schedule-class-3, .schedule-class-4, .schedule-class-5, 
.schedule-class-6 {
    background: linear-gradient(135deg, #00BCD4, #0097A7);
    color: white;
    border-left: 4px solid #006064;
}

/* 日历头部样式 */
.fc-toolbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.fc-toolbar h2 {
    font-weight: 600;
    font-size: 1.5em;
}

.fc-button {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    transition: all 0.3s ease !important;
}

.fc-button:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-1px);
}

/* 日历网格样式 */
.fc-day {
    transition: all 0.3s ease;
}

.fc-day:hover {
    background-color: #f8f9fa;
}

.fc-day-today {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2) !important;
    border-radius: 8px;
}

.fc-daygrid-day-number {
    color: #5f6368;
    font-weight: 500;
    padding: 8px;
}

/* 事件详情样式 */
.fc-event-title {
    font-weight: 600;
    white-space: normal;
    line-height: 1.4;
}

.fc-event-time {
    font-size: 0.8em;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .fc-event {
        font-size: 0.75em;
        padding: 2px 4px;
    }
    
    .fc-toolbar {
        padding: 10px 15px;
    }
    
    .fc-toolbar h2 {
        font-size: 1.2em;
    }
}

/* 滚动条样式 */
.fc-scrollgrid::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.fc-scrollgrid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.fc-scrollgrid::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.fc-scrollgrid::-webkit-scrollbar-thumb:hover {
    background: #555;
}